package com.mooue.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 员工表(Personnel)实体类
 *
 * @author bsciology
 * @since 2023-08-10 15:37:02
 */
public class Personnel implements Serializable {
    private static final long serialVersionUID = -21128415268759455L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 员工姓名
     */
    private String name;
    /**
     * 员工账号
     */
    private String username;
    /**
     * 员工密码
     */
    private String password;
    /**
     * 员工账号状态
     */
    private String status;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatetime;
    /**
     * 部门id
     */
    private Integer deptid;
    /**
     * 工龄
     */
    private Integer workage;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 入职时间
     */
    private String inductiontime;
    /**
     * 离职时间
     */
    private String resigntime;
    /**
     * 薪水
     */
    private BigDecimal salary;
    /**
     * 生日
     */
    private String birthday;
    /**
     * 性别
     */
    private String gender;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDateTime getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(LocalDateTime updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public Integer getWorkage() {
        return workage;
    }

    public void setWorkage(Integer workage) {
        this.workage = workage;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getInductiontime() {
        return inductiontime;
    }

    public void setInductiontime(String inductiontime) {
        this.inductiontime = inductiontime;
    }

    public String getResigntime() {
        return resigntime;
    }

    public void setResigntime(String resigntime) {
        this.resigntime = resigntime;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

}

